package com.moneywelcome.userserviceassembly.exception;


public class UserLoginExecption extends RuntimeException{

    private static final long serialVersionUID = 1L;

    private Integer code;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public UserLoginExecption(Integer code, String msg){
        //父类消息，传递消息进入
        super(msg);
        //传递自定义内容
        this.code = code;
    }
}
